package pl.kosmowska.ewelina.client.views;

import java.util.Date;
import java.util.List;

import pl.kosmowska.ewelina.client.app.requestfactory.dto.OutcomeDataProxy;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

public interface IncomeOutcomeView extends IsWidget {

	interface Presenter {
		void goTo(Place place);

		void loadDataForIncomeOutcomeView(Date startDate, Date endDate);

		void loadDataForIncomeOutcomeView();


	}

	void setPresenter(Presenter presenter);

	void clearView();

	void reInitView(float balanceSum, float incomeSum, float outcomeSum,
			List<OutcomeDataProxy> returnedOutcomeData);

	void showMessage(String message);

	boolean isAlreadyInit();

	void setAlreadyInit(boolean alreadyInit);



}
